package com.quanyan.operative.model.req;

import java.io.Serializable;
import java.util.List;

/**
 * Created by slong.guo on 2016/12/23.
 */
public class ReqOpDynamicItem implements Serializable {
    private static final long serialVersionUID = -8534688709321382532L;

    //操作类型 1：创建 2：修改 3：删除
    private int opType;
    private int activityID;
    private int dynamicID;

    private String words;
    private List<String> pics;

    public static long getSerialVersionUID() {
        return serialVersionUID;
    }

    public int getOpType() {
        return opType;
    }

    public void setOpType(int opType) {
        this.opType = opType;
    }

    public int getActivityID() {
        return activityID;
    }

    public void setActivityID(int activityID) {
        this.activityID = activityID;
    }

    public int getDynamicID() {
        return dynamicID;
    }

    public void setDynamicID(int dynamicID) {
        this.dynamicID = dynamicID;
    }

    public String getWords() {
        return words;
    }

    public void setWords(String words) {
        this.words = words;
    }

    public List<String> getPics() {
        return pics;
    }

    public void setPics(List<String> pics) {
        this.pics = pics;
    }

    public boolean isValid(){
        return this.words != null && this.pics != null;
    }

}
